package com.sright.bcard.content.biz.service;

import com.sright.bcard.content.biz.manager.FavoriteCardManager;
import com.sright.bcard.content.share.request.FavoriteRequest;
import com.sright.bcard.content.share.service.FavoriteService;
import com.sright.common.response.SrightResponse;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class FavoriteServiceImpl implements FavoriteService {
    @Autowired
    FavoriteCardManager favoriteCardManager;
    @Override
    public SrightResponse addFavorite(FavoriteRequest favoriteRequest) {
        return favoriteCardManager.addFavorite(favoriteRequest);
    }
}
